// 日常运维任务详情
export function getDailyYwDetail(params) {
  return uni.$http.get('/smallProgram/OMmission/omMissionDetail', params)
}
// 日常运维任务提交
export function addSubmitMission(params) {
  return uni.$http.post('/smallProgram/OMmission/submitMission', params)
}
// 日常运维任务处理
export function omMissionHandle(params) {
  return uni.$http.post('/smallProgram/OMmission/omMissionHandle', params)
}
// 水质检测列表
export function getWaterTestList(params) {
  return uni.$http.get('/smallProgram/OMmission/waterTestList', params)
}
// 新增水质取样（问题处理弹窗）
export function editWaterCommit(params) {
  return uni.$http.post('/smallProgram/OMmission/waterReportCommit', params)
}
// 水质报告提交
export function addWaterReportCommit(params) {
  return uni.$http.post('/smallProgram/OMmission/waterSamplingCommit', params)
}
// 查看水质报告详情
export function getWaterTestDetail(params) {
  return uni.$http.get('/smallProgram/OMmission/waterTestDetail', params)
}
//获取工单总览
export function getWorkOrderNum(data) {
  return uni.$http.get('/smallProgram/OMmission/getMissionNum', data)
}

//全部工单列表
export function getAllWorkOrderList(data) {
  return uni.$http.get('/smallProgram/OMmission/allOmList', data)
}
//异常报警列表
export function getOmPoliceList(data) {
  return uni.$http.get('/smallProgram/OMmission/omPoliceList', data)
}
//异常处理详情
export function getOmPoliceDetail(data) {
  return uni.$http.get('/smallProgram/OMmission/omPoliceDetail', data)
}
// 问题处理
export function addOmPoliceHandle(params) {
  return uni.$http.post('/smallProgram/OMmission/omPoliceHandle', params)
}
//打卡
export function checkOMmission(params) {
  return uni.$http.post('/smallProgram/OMmission/check', params)
}
//查看打卡情况
export function queryCheckDetail(params) {
  return uni.$http.post('/smallProgram/OMmission/queryCheckDetail', params)
}
// 问题反馈详情-通过id查询
export function getProFeedbackDetail(params) {
  return uni.$http.get('/ps/proFeedback/queryById', params)
}
// 问题反馈-编辑
export function editProFeedback(params) {
  return uni.$http.post('/ps/lgn/proFeedback/edit', params)
}
// 获取报警工单设备类型
export function getOmPoliceType() {
  return uni.$http.get('/smallProgram/OMmission/getOmPoliceType')
}
// 获取运维数据统计
export function getOperatorCount(params) {
  return uni.$http.get('/ps/operator/getCount', params)
}

// 获取运维人员分页列表
export function getOperatorList(params) {
  return uni.$http.get('/ps/operator/list', params)
}
// 运维状态数量
export function getYunweiCount(params) {
  return uni.$http.get('/smallProgram/OMmission/getCountByType',params)
}
